package goods

import (
	"context"
	"log"
	pb "user-server/proto"
)

type GoodsServer struct {
	pb.UnimplementedGoodsServer
}

// SayHello implements helloworld.GreeterServer
func (s *GoodsServer) SayHello(_ context.Context, in *pb.StreamReq) (*pb.StreamResp, error) {
	log.Printf("Received: %v", in.GetName())
	return &pb.StreamResp{
		Greet: "",
	}, nil
}
